package com.mode.memento.pattern;

/**
 * @Description:
 * @Author: zyf
 * @Time: 2020/9/29 11:33
 */
public class GameMemento {

    /** 步数 */
    private int playerSteps;

    /**
     * 备份步数
     * @param playerSteps
     */
    public GameMemento(int playerSteps){
        this.playerSteps = playerSteps;
    }

    public int getPlayerSteps() {
        return playerSteps;
    }
}
